/* Thème pour back office "Transdmin" */

@charset "utf-8";

/* Reset -------------------------------------------------------------------- */

img { border: none; }
:focus { outline: 0; }

/* Basic  ------------------------------------------------------------------- */

body {
	background: white;
	font-family: Arial, sans-serif, "dejavu sans" !important;
	font-size: 12px !important;
	color: #646464;
}
#wrapper {
	text-align: left;
	width: 950px;
	margin: 0 auto;
}

/* Header ------------------------------------------------------------------- */

#header h1 {
	margin: 15px 0 10px 5px;
	width: 322px;
	height: 47px;
	background: url(images/header_miage_admin.jpg) no-repeat left top;
}
#header h1 a {
	display: block;
	width: 322px;
	height: 47px;
}
#header h1 span { display: none; }

#connected_user {
	float: right;
	text-align:right;
}
#connected_user a {
	color: #333;
	font-weight: bold;
	text-decoration: none;
}
#connected_user a:hover {
	color: #aaa;
}

/* Main Navigation ---------------------------------------------------------- */

#main_navigation {
	width: 938px;
	height: 37px;
	padding: 6px;
	margin: 0 0 10px 0;
	background: url(images/top-menu-bg.gif) no-repeat left top;
	/* We used a background image making the thick border and the thin one to keep the html structure simple */
}
#main_navigation li {
	display: inline-block;
	height: 37px;
	border-right: 1px solid #ddd;
}
#main_navigation li a {
	display: block;
	float: left;
	height: 37px;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 37px;
	text-decoration: none;
	color: #646464;
	padding: 0 16px;
}
#main_navigation li a:hover {
	background: #fdfcf6;
}
#main_navigation li a.active {
	background: #f0f0f0 url(images/top-menu-item-bg.gif) repeat-x left top;
	color: #454545;
}
#main_navigation li a img.icon {
	padding-right: 6px;
}
#main_navigation li:last-child {
	float: right;
	border-left: 1px solid #ddd;
	border-right: none;
}

/* Container ---------------------------------------------------------------- */

#container_holder {
	background: #eee;
	padding: 5px;
}

#container {
	background: #fff url(images/content.gif) repeat-y left top;
	border: 1px solid #ddd;
	width: 938px;
}

/* Sidebar ------------------------------------------------------------------ */

#sidebar {
	width: 179px;
	float: left;
}
#sidebar .sideNav {
	padding: 0;
	margin: 0;
}
#sidebar .sideNav li {
	border-bottom: 1px solid #ddd;
	display: block;

}
#sidebar .sideNav li a {
	display: block;
	color: #646464;
	background-color: #f6f6f6 !important;
	text-decoration: none;
	height: 29px;
	line-height: 29px;
	padding: 0 16px;
}
#sidebar .sideNav li a img.icon {
	padding-right: 6px;
}
#sidebar .sideNav li a:hover {
	background-color: #fdfcf6 !important;
}
#sidebar .sideNav li a.active,
#sidebar .sideNav li a.active:hover {
	background-color: #f0f7fa !important;
	color: #c66653;
}

/* Content ------------------------------------------------------------------ */

#main {
	width: 738px;
	float: right;
	padding: 0 10px 1em 10px;
	margin-bottom: 30px;
}
#main h2 {
	color: #646464;
	font-size: 16px;
	line-height: 16px;
	font-weight: bold;
	margin: 20px 0 15px 0;
	padding: 0 0 5px 0;
	border-bottom: 1px solid #ddd;
}
#main h2 a { color: #5494af; text-decoration: none; }
#main h2 a:hover { color: #c66653; }
#main h2 a:after { content: " »"; color: #c66653; }
#main h3 {
	font-size: 14px;
	line-height: 14px;
	font-weight: bold;
	padding: 0 0 5px 10px;
	margin: 20px 0 15px 0;
}
#main h4 {
	font-size: 13px;
	margin: 20px 0 10px 0;
}
#main p {
	margin: 10px 2px;
}
#main p a {
	color: #696969;
}
#main p a:hover {
	color: #c66653;
}

/* Tableaux de statistique -------------------------------------------------- */

table.stats {
	border-collapse: collapse;
	width: 100%;
	margin: 10px 0;
}
table.stats td, table.stats th {
	border: 1px solid #aaa;
	padding: 3px 6px;
}
table.stats td.numeric {
	text-align: center;
}
div.stats {
	width: 100%;
	height: 300px;
	margin-bottom: 10px;
}

/* Stylized forms ----------------------------------------------------------- */

form.stylized {
	margin: 5px;
}
form.stylized fieldset {
	border: 1px solid #ddd;
	border-radius: 8px;
	-moz-border-radius: 8px;
	padding: 10px;
	margin-bottom: 15px;
}
form.stylized fieldset legend {
	padding: 0 5px;
	font-size: 13px;
	font-weight: bold;
	color: #5494af;
}

form.stylized input[type=checkbox],
form.stylized input[type=radio] {
	vertical-align: middle;
	margin: 1px;
}
form.stylized input[type=text],
form.stylized input[type=password] {
	width: 240px;
}
form.stylized input[type=number] {
	width: 60px;
}
form.stylized textarea,
form.stylized input[type=text],
form.stylized input[type=password],
form.stylized input[type=number] {
	border: 1px solid silver;
	padding: 3px;
	background: url(images/input_bg.png) white repeat-x;
}
form.stylized textarea {
	width: 100%;
}
form.stylized textarea:focus,
form.stylized input[type=text]:focus,
form.stylized input[type=password]:focus,
form.stylized input[type=number]:focus {
	background: #fffaf0;
	border: 1px solid #aaa;
}
form.stylized table {
	border-collapse: collapse;
}
form.stylized table td {
	padding: 3px 5px;
	vertical-align: middle;
}
form.stylized table td.top {
	padding-top: 6px;
	vertical-align: top;
}

/* Sortable items ----------------------------------------------------------- */

#main .sortable-container {
	background: #f0f0f0;
	border-radius: 8px;
	-moz-border-radius: 8px;
	padding: 5px;
	margin: 10px;
}
#main .sortable-item {
	background: white url(images/sortable-item-bg.png) repeat-x center bottom;
	border: 1px solid #ddd;
	border-radius: 8px;
	-moz-border-radius: 8px;
	margin: 5px;
	padding: 5px 5px 5px 20px;
	min-height: 50px;
	list-style-type: none;
}
#main .sortable-item.ui-sortable-helper {
	-webkit-box-shadow:0px 0px 12px #a0a0a0;
	-moz-box-shadow:0px 0px 12px #a0a0a0;
}
#main .sortable-item:hover {
	background: #fff0c0;
	cursor: move;
}
#main .sortable-item  h4 {
	margin: 0 0 4px 0;
}
#main .sortable-actions {
	background: url(images/input-shaddow.gif);
	float: right;
	border: 1px solid silver;
	border-radius: 4px;
	-moz-border-radius: 4px;
	padding: 2px;
}
#main .sortable-place-holder {
	border: 1px solid #aaa;
	background: silver;
	border-radius: 8px;
	-moz-border-radius: 8px;
	margin: 5px;
	padding: 5px 5px 5px 20px;
	min-height: 50px;
	list-style-type: none;
}

/* Menus management --------------------------------------------------------- */

#menus_manager {
	padding: 10px;
	width: 700px !important;
}
#menus_manager .first-level-item {
	display: block;
	margin: 10px;
	background-color: white;
	-webkit-box-shadow: 0px 0px 12px #a0a0a0;
	-moz-box-shadow:0px 0px 12px #a0a0a0;
	border-radius: 10px;
	-moz-border-radius: 10px;
}
#menus_manager .second-level {
	border-top: 1px solid #ddd;
	padding: 5px 0;
}
#menus_manager .second-level-item {
	display: block;
	height: 22px;
	margin: 2px 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	background: url(images/input-shaddow.gif) white no-repeat;
	border: 1px solid #ddd;
}
#menus_manager .second-level .placeholder {
	height: 22px;
	margin: 2px 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	background: silver;
	border: 1px solid #aaa;
}
#menus_manager .first-level-item.offline,
#menus_manager .second-level-item.offline {
	background: #eeeeee;
}
#menus_manager span.icon-box {
	border-right: 1px solid #ddd;
	padding: 0 5px;
	display: inline-block;
	height: 22px;
	line-height: 22px;
}
#menus_manager span.right-box {
	float: right;
	display: inline-block;
	height: 22px;
	line-height: 22px;
	padding-right: 5px;
}
#menus_manager .link {
	text-decoration: none;
	color: #5494af;
}
#menus_manager .link img.icon {
	display: none;
}
#menus_manager .link:hover img.icon {
	display: inline;
}
#menus_manager .handle:hover {
	cursor: move;
}
#menus_manager .first-level-item.ui-sortable-helper,
#menus_manager .second-level-item.ui-sortable-helper {
	-webkit-box-shadow: 0px 0px 10px #505050;
	-moz-box-shadow: 0px 0px 10px #505050;
}

#menu_item_form select {
	width: 260px;
}
#menu_item_form p {
	margin: 0 2px 6px 2px;
}
#menu_item_form label {
	width: 120px;
	display: inline-block;
}

/* Footer ------------------------------------------------------------------- */

#footer {
	margin: 10px 0 30px 0;
	font-size: 11px;
	line-height: 11px;
	color: #9B9B9B;
	padding: 0 0 0 5px;
	text-align: center;
}
#footer a { color: #9B9B9B; }
#footer a:hover { color: #505050; }

/* Details tables  ---------------------------------------------------------- */

table.details {
	width: 100%;
	border-collapse: collapse;
}
table.details tr:hover td {
	background-color: #fff9db;
}
table.details td, table.details th {
	padding: 4px 6px;
	vertical-align: top;
	font-size: 12px;
}
table.details th {
	background-color: #eee;
}
table.details td:first-child {
	font-weight: bold;
	width: 200px;
}
table.details td.separator {
	padding: 0;
	border-bottom: 1px dashed #ccc;
}
table.details a {
	color: #9B9B9B;
}
table.details a:hover {
	color: #505050;
}

/* Galerie photo ------------------------------------------------------------ */

div.picture-item {
	float: left;
	margin-right: 10px;
}
div.picture-thumb {
	float: left;
}
div.picture-thumb a {
	width: 120px;
	height: 120px;
	padding: 5px;
	border-radius: 5px 0 5px 5px;
	-moz-border-radius: 5px 0 5px 5px;
	border: 1px solid silver;
	text-align: center;
	display: block;
}
div.picture-thumb a:hover {
	background-color: #FFF3BC;
	border-color: #FFCB3D;
}
div.picture-info {
	text-align: center;
	margin: 5px 0;
	font-size: 10px;
	color: #808080;
	visibility: hidden;
	width: 131px;
	height: 26px;
}
div.picture-item:hover div.picture-info {
	visibility: visible;
}
div.picture-actions {
	margin-left: 131px;
	border: 1px solid silver;
	border-radius: 0 5px 5px 0;
	-moz-border-radius: 0 5px 5px 0;
}
div.picture-actions a {
	display: block;
	padding: 2px;
}

/* jQuery ------------------------------------------------------------------- */

.js-confirm-wrapper {
	background: white;
	display: block;
	position: absolute;
	margin-top: -20px;
	padding: 5px 4px 0 4px;
	z-index: 9000;
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

.button-box .js-button {
	margin-right: 10px;
}

#popup_details {
	text-align: left;
	padding: 10px;
	max-height: 600px;
}
#popup_details p.notice {
	font-size: 12px;
	margin: 0;
	color: #aaaaaa;
	text-align: right;
}
.post-tag {
	display: inline-block;
	padding: 2px 4px;
	margin-right: 8px;
	border: 1px solid #ddd;
	background-color: #f0f0f0;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
#post-tag-value {
	width: 60px;
	font-size: 11px;
}
